package com.sptpc.demo1.repository;


import com.sptpc.demo1.model.Order;
import org.hibernate.criterion.Example;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderRepository extends JpaRepository<Order, Integer> {
    List<Order> findAll(Example example);
}
